Notice that the overriding method must have the same type of arguments and return value as the inherited method.
The Student set() method definition assigns the id_number instance variable using the same approach as was used by the Person set() method to assign its instance variables. The following page demonstrates how the age and weight instance variables of a Student object can be set.